package oa.hleast.xswl.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import oa.hleast.common.base.BaseEntity;

/**
 * @author: 302
 * @date: 2021-10-22 09:25:46
 * @description: 商家支付信息表(StorePayInfo)实体类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("商家支付信息表实体类")
public class StorePayInfo extends BaseEntity {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("店铺id")
    private Long storeId;

    @ApiModelProperty("是否拥有支付宝支付权限")
    private Integer hasAlipayAuth;

    @ApiModelProperty("是否拥有微信支付权限")
    private Integer hasWxAuth;

    @ApiModelProperty("是否拥有余额支付权限")
    private Integer hasBalanceAuth;

    @ApiModelProperty("是否拥有积分支付权限")
    private Integer hasIntegralAuth;

    @ApiModelProperty("支付宝商家应用公钥文件")
    private String alipayAppCertPublicKey;

    @ApiModelProperty("支付宝商家应用ID")
    private String alipayAppId;

    @ApiModelProperty("微信子商户公众账号ID")
    private String wxSubAppId;

    @ApiModelProperty("微信子商户号")
    private String wxSubMchId;
    @TableLogic(value = "0", delval = "1")
    @ApiModelProperty("删除标识  (0未删除 1已删除)")
    private Integer deleted;


}
